<div class="page_directive">
    <button class="btn" ng-click="page.page_go(1)">{{language.TIPS_FIRST_PAGE}}</button>
    <button class="btn" ng-click="page.prev();">{{language.TIPS_PREV_PAGE}}</button>
    <button class="btn" ng-repeat="li in page.totalPage track by $index" ng-click="page.page_go(li)" ng-class="li==page.p ? 'curr' : (li == '...' ? 'btn_no' : '')">{{li}}</button>
    <button class="btn" ng-click="page.next();">{{language.TIPS_NEXT_PAGE}}</button>
    <button class="btn" ng-click="page.page_go(page.num)">{{language.TIPS_LAST_PAGE}}</button>
</div>